package com.zixue.springcloud.service;

import com.zixue.springcloud.entities.CommonResult;
import com.zixue.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

public interface PaymentService {
    CommonResult<Integer> create(Payment payment);
    CommonResult<Payment> getPaymentById(@Param("id") Long id);
}
